# mapping for default google code project
import googleCode

print "Use fudepan mapping scheme"

googleCode.STATES = {
        "Submitted"  : "Submitted",
        "New"        : "New",
        "Accepted"   : "Open",
        "InProgress" : "In Progress",
        "Started"    : "In Progress",
        "Fixed"      : "Fixed",
        "Done"       : "Fixed",
        "Duplicate"  : "Duplicate",
        "WontFix"    : "Won't fix",
        "Invalid"    : "Won't fix",
        "Verified"   : "Verified",
}

googleCode.TYPES = {
        'Type-Defect'       : 'Bug',
        'Type-Feature'      : 'Feature',
        'Type-Task'         : 'Task',
        'type-Task'         : 'Task',
        'Type-Documentation': 'Documentation',
        'Type-Review'       : 'Review',
        'Type-Enhancement'  : 'Feature'
        }

googleCode.PRIORITIES = {
        'Priority-Low'      : '4',
        'Priority-Medium'   : '3',
        'priority-Medium'   : '3',
        'Priority-High'     : '2',
        'Priority-Critical' : '1'
        }

googleCode.CUSTOM_FIELDS = {
        'OpSys'     : {
            'name': 'OS', 
            'type' : 'enum[*]', 
            'isPrivate': False, 
            'defaultVisibility': True, 
            'empty' : 'No OS'
            },
        'Milestone'     : {
            'name': 'Milestone', 
            'type' : 'enum[1]', 
            'isPrivate': False, 
            'defaultVisibility': True, 
            'empty' : 'No Milestone'
            }
        }
